X-ray motion analysis